package com.ts.geo.services;

import com.ts.geo.vo.AddLocation;
import com.ts.geo.vo.UserLocation;
import org.springframework.data.geo.GeoResults;
import org.springframework.data.redis.connection.RedisGeoCommands;

public interface GeoServices {
    void addLocation(AddLocation addLocation);

    GeoResults<RedisGeoCommands.GeoLocation<String>> getNearbyUsers(UserLocation location);
}
